package cn.yuxiaoyuan.service;

import cn.yuxiaoyuan.pojo.domain.Driver;
import cn.yuxiaoyuan.pojo.ro.PointRo;
import cn.yuxiaoyuan.result.JSONResult;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 司机对象 服务类
 * </p>
 *
 * @author whale
 * @since 2025-06-12
 */
public interface IDriverService extends IService<Driver> {
    JSONResult register(String code, String openid,String phone);

    JSONResult getDriverState();

    JSONResult driverOnline();

    JSONResult driverOffline();

    JSONResult locationPoint(PointRo point);

    JSONResult pullOrderForDriver();

}
